package com.ysqcould.content.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 二级分类对象 t_second_type
 * 
 * @author ruoyi
 * @date 2022-08-08
 */
@Data
public class SecondType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 父ID（一级分类ID） */
    @Excel(name = "父ID", readConverterExp = "一=级分类ID")
    private Long parentId;

    /**
     * 二级分类Id
     */
    private String twoId;
    /** 类型名称 */
    @Excel(name = "类型名称")
    private String name;

    /** 排序 */
    @Excel(name = "排序")
    private Long serial;

    /** 状态（字典 0正常 1冻结 2删除） */
    @Excel(name = "状态", readConverterExp = "字=典,0=正常,1=冻结,2=删除")
    private Long status;


}
